Skip to content

DM-55482: Disable implicit threading in multiprocessing workers#571

Merged
timj merged 1 commit into
mainfrom
tickets/DM-55482
Jul 20, 2026
Merged

DM-55482: Disable implicit threading in multiprocessing workers#571
timj merged 1 commit into
mainfrom
tickets/DM-55482

Conversation

@timj

@timj timj commented Jul 15, 2026

Copy link
Copy Markdown
Member

Worker processes are started with the spawn method, so runtime thread limits applied in the parent process do not carry over and inherited environment variables only cover libraries that have not yet created their thread pools. Call disable_implicit_threading again at the top of the subprocess entry point.

Checklist

  • ran Jenkins
  • ran and inspected package-docs build
  • added a release note for user-visible changes to doc/changes

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.91%. Comparing base (d3850db) to head (3e508e1).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #571      +/-   ##
==========================================
+ Coverage   88.83%   88.91%   +0.08%     
==========================================
  Files         161      161              
  Lines       22482    22500      +18     
  Branches     2673     2673              
==========================================
+ Hits        19971    20005      +34     
+ Misses       1866     1848      -18     
- Partials      645      647       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Worker processes are started with the spawn method, so runtime thread
limits applied in the parent process do not carry over and inherited
environment variables only cover libraries that have not yet created
their thread pools. Call disable_implicit_threading again at the top
of the subprocess entry point.

Co-Authored-By: Claude Fable 5 <[email protected]>
@timj
timj force-pushed the tickets/DM-55482 branch from 6d94935 to 3e508e1 Compare July 20, 2026 14:17
@timj
timj merged commit da2302b into main Jul 20, 2026
23 of 24 checks passed
@timj
timj deleted the tickets/DM-55482 branch July 20, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants